/* ????

class Solution {
    public int[] twoSum(int[] nums, int target) {
        for (int i = 0; i < nums.length; i++) {
            for (int j = i + 1; j < nums.length; j++) {
                if (nums[i] + nums[j] == target) {
                    return new int[] { i, j };
                }
            }
        }
        throw new IllegalArgumentException("No two sum solution");
    }

    public static void main(String[] args) {
        if (args.length != 2) {
            System.out.println("Usage: java Solution <nums> <target>");
            System.out.println("Example: java Solution \"2,7,11,15\" 9");
            return;
        }
        Solution solution = new Solution();
        String[] numsStr = args[0].split(",");
        int[] nums = new int[numsStr.length];
        for (int i = 0; i < numsStr.length; i++) {
            nums[i] = Integer.parseInt(numsStr[i]);
        }

        int target = Integer.parseInt(args[1]);

        int[] result = solution.twoSum(nums, target);
        System.out.println("[" + result[0] + "," + result[1] + "]");
    }
}
*/


/* ???
 class Solution {
    public boolean isPalindrome(int x) {
        if (x < 0 || (x % 10 == 0 && x != 0)) {
            return false;
        }
        int revertedNumber = 0;
        while (x > revertedNumber) {
            revertedNumber = revertedNumber * 10 + x % 10;
            x /= 10;
        }
        return x == revertedNumber || x == revertedNumber / 10;
    }

    public static void main(String[] args) {
        if (args.length != 1) {
            System.out.println("Usage: java Solution <x>");
            System.out.println("Example: java Solution 121");
            return;
        }
        Solution solution = new Solution();
        int x = Integer.parseInt(args[0]);
        System.out.println(solution.isPalindrome(x));
    }
}
*/

/*
???????
class Solution {
    public boolean isMatch(String s, String p) {
        int m = s.length();
        int n = p.length();
        boolean[][] dp = new boolean[m+1][n+1];
        s = "*" + s;
        p = "*" + p;
        dp[0][0] = true;
        for(int j = 2; j <= n; j+=2) {
            if(p.charAt(j) == '*') {
                dp[0][j] = true;
            } else {
                break;
            }
        }
        for(int i = 1; i <= m; ++i) {
            for(int j = 1; j <= n; ++j) {
                if(p.charAt(j) == '*') {
                    dp[i][j] = dp[i][j - 2] || ((p.charAt(j - 1) == '.' || p.charAt(j - 1) == s.charAt(i)) && dp[i - 1][j]);
                } else {
                    dp[i][j] = (p.charAt(j) == s.charAt(i) || p.charAt(j) == '.') && dp[i-1][j-1];
                }
            }
        }
        return dp[m][n];
    }

    public static void main(String[] args) {
        if (args.length != 2) {
            System.out.println("Usage: java Solution <s> <p>");
            System.out.println("Example: java Solution \"aa\" \"a\"");
            return;
        }
        Solution solution = new Solution();
        String s = args[0];
        String p = args[1];
        System.out.println(solution.isMatch(s, p));
    }
}
*/
/*
??????
import java.util.*;


class Automaton {
    public int sign = 1;
    public long ans = 0;
    private String state = "start";
    private Map<String, String[]> table = new HashMap<String, String[]>() {{
        put("start", new String[]{"start", "signed", "in_number", "end"});
        put("signed", new String[]{"end", "end", "in_number", "end"});
        put("in_number", new String[]{"end", "end", "in_number", "end"});
        put("end", new String[]{"end", "end", "end", "end"});
    }};

    public void get(char c) {
        state = table.get(state)[get_col(c)];
        if ("in_number".equals(state)) {
            ans = ans * 10 + c - '0';
            ans = sign == 1 ? Math.min(ans, (long) Integer.MAX_VALUE) : Math.min(ans, -(long) Integer.MIN_VALUE);
        } else if ("signed".equals(state)) {
            sign = c == '+' ? 1 : -1;
        }
    }

    private int get_col(char c) {
        if (c == ' ') {
            return 0;
        }
        if (c == '+' || c == '-') {
            return 1;
        }
        if (Character.isDigit(c)) {
            return 2;
        }
        return 3;
    }
}


class Solution {
    public int myAtoi(String str) {
        Automaton automaton = new Automaton();
        int length = str.length();
        for (int i = 0; i < length; ++i) {
            automaton.get(str.charAt(i));
        }
        return (int) (automaton.sign * automaton.ans);
    }

    public static void main(String[] args) {
        if (args.length != 1) {
            System.out.println("Usage: java Solution <s>");
            System.out.println("Example: java Solution \"42\"");
            return;
        }
        Solution solution = new Solution();
        String s = args[0];
        System.out.println(solution.myAtoi(s));
    }
}*/
/*

class Solution {
    public void swap(int[] nums,int left,int right) {
        int tmp = nums[left];
        nums[left] = nums[right];
        nums[right] = tmp;
    }

    public int removeElement(int[] nums, int val) {
        int left = 0,right = nums.length -1;
        int count = 0;
        while(left<=right) {
            if(nums[left] != val) {
                ++left;
                ++count;
            } else {
                swap(nums,left,right);
                --right;
            }
        }
        return count;
    }

    public static void main(String[] args) {
        if (args.length != 2) {
            System.out.println("Usage: java Solution <nums> <val>");
            System.out.println("Example: java Solution \"3,2,2,3\" 3");
            return;
        }
        Solution solution = new Solution();
        String[] numsStr = args[0].split(",");
        int[] nums = new int[numsStr.length];
        for (int i = 0; i < numsStr.length; i++) {
            nums[i] = Integer.parseInt(numsStr[i]);
        }

        int val = Integer.parseInt(args[1]);

        int result = solution.removeElement(nums, val);
        System.out.println(result);
    }
}
*/

class Solution {
    public int plus(int a, int b) {
        return a + b;
    }

    public static void main(String[] args) {
        if (args.length != 2) {
            System.out.println("Usage: java Solution <a> <b>");
            System.out.println("Example: java Solution 1 2");
            return;
        }
        Solution solution = new Solution();
        int a = Integer.parseInt(args[0]);
        int b = Integer.parseInt(args[1]);
        System.out.println(solution.plus(a, b));
    }
}